﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TianShiProject.Models.CarService.Accidents
{
    public class AccidentDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string AccidentlNumber { get; set; }
        /// <summary>
        /// 事故标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNumber { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 事发人
        /// </summary>
        public string AccidentManager { get; set; }
        /// <summary>
        /// 维修描述
        /// </summary>
        public string MaintainDesc { get; set; }
        /// <summary>
        /// 事故日期
        /// </summary>
        public DateTime AccidentTime { get; set; }
        public string AccidentTimes { get { return AccidentTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        public string CreateTimes { get { return CreateTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 事故描述
        /// </summary>
        public string AccidentDesc { get; set; }
        /// <summary>
        /// 直接经济损失
        /// </summary>
        public string AccidentResult { get; set; }
        /// <summary>
        /// 保险公司赔偿
        /// </summary>
        public string Compensate { get; set; }
        /// <summary>
        /// 公司净损失
        /// </summary>
        public string Loss { get; set; }
    }
}
